<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.js"></script>
    <style>
        [v-cloak] {
            display: none;
        }
    </style>
</head>
<!-- 1.v-cloak能够解决插值表达式闪烁的问题 
2.可能需要服务器才能验证，暂时没能验证效果

-->

<body>
    opoopo
    <div id="a" v-cloak>{{shuzhi}}</div>
    <script>
        new Vue({
            el: '#a',
            data: {
                shuzhi: 'd',
            }
        })
    </script>
</body>

</html>